﻿<UserControl x:Class="Polymod.Silverlight.TestHarness.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
             Height="400"
             Width="400"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="136*" />
            <RowDefinition Height="198*" />
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <TextBox Text="{Binding CustomerName, Mode=TwoWay}" Height="23" HorizontalAlignment="Left" Margin="134,8,0,0" Name="textBox1" VerticalAlignment="Top" Width="120" />
            <TextBox Text="{Binding OrderNumber, Mode=TwoWay}"  Height="23" HorizontalAlignment="Left" Margin="134,38,0,0" Name="textBox2" VerticalAlignment="Top" Width="120" />
            <TextBlock Text="{Binding Total}"  Height="23" HorizontalAlignment="Left" Margin="134,71,0,0" Name="textBlock1" VerticalAlignment="Top" Width="120" />
            <sdk:Label Height="28" HorizontalAlignment="Left" Margin="7,8,0,0" Name="label1" VerticalAlignment="Top" Width="120" Content="Name" />
            <sdk:Label Content="Order Number" Height="28" HorizontalAlignment="Left" Margin="7,38,0,0" Name="label2" VerticalAlignment="Top" Width="120" />
            <sdk:Label Content="Total" Height="28" HorizontalAlignment="Left" Margin="7,66,0,0" Name="label3" VerticalAlignment="Top" Width="120" />
            <Button Content="New Item" Height="23" HorizontalAlignment="Left" Margin="319,73,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        </Grid>
        <ListBox Grid.Row="1" ItemsSource="{Binding Items}"/>
    </Grid>
</UserControl>
